package org.deri.odhd.buses.model;

import java.util.HashSet;
import java.util.Set;

public class Company {

	private String name;
	private Set<Fare> fares;
	
	public Company(String name, Set<Fare> fares) {
		this.name = name;
		this.fares = new HashSet<Fare>();
	}

	public String getName() {
		return name;
	}

	public Set<Fare> getFares() {
		return fares;
	}
	
	public void addFare(Fare fare){
		this.fares.add(fare);
	}
	
}
